<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <title>后盾人</title>
  </head>
  <body></body>
  <script>
    //\d \w .
    // let hd = "houdunren-_@&*&***(";
    // console.log(hd.match(/.+/));
    // let url = "https://www.houdunren.com";
    // console.log(url.match(/https?:\/\/\w+\.\w+\.\w+/));
    // let hd = `
    // houdunren.com
    // hdcms.com
    // `;
    // console.log(hd.match(/.+/s)[0]);
    let tel = "010 - 99999999";
    console.log(tel.match(/\d+\s-\s\d{8}/));
  </script>
</html>
